import request from "@/network/request";

export function section(pageModel) {
    console.log("haha"+pageModel.courseId);
    return request({
        url: '/business/section/list',
        params: pageModel
    })
}

export function saveSection(params) {
    console.log(params);
    return request({
        url: '/business/section/save',
        data: params
    })
}

export function deleteSection(id) {
    return request({
        url: '/business/section/delete/' + id,
    })
}
